<!doctype html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=no">
    <title>鲜知校园-购买记录</title>
    <link rel="stylesheet" href="/static/front/common/css/reset.css"/>
    <link rel="stylesheet" href="/static/front/css/common.css"/>
    <link rel="stylesheet" href="/static/front/css/mealHistory.css"/>
    <script src="/static/front/common/js/jquery-1.12.4.min.js"></script>
</head>

<body>
<div class="container">
    <div class="headerNav">
        <div class="backPrv">
            <img src="/static/front/img/back_black.png" alt="">
        </div>
        <p>购买记录</p>
    </div>
    <div class="content">
        <ul>
            {{range .orderList}}
                <li>
                    <div class="meal_content">
                        <div class="meal_content_title">{{.SetMealName}}:</div>
                        <p>{{.SetMealIntroduce}}</p>
                        <p>推送{{.SetMealPushNum}}次, {{.SetMealExcellentNum}}所优选+{{.SetMealAssistNum}}所辅选</p>
                        <div class="timeInfo">
                            <p>{{.CreatedDateShow}}</p>
                            <p>价格: {{.SetMealPrice}}</p>
                        </div>
                    </div>
                </li>
            {{end}}
        </ul>
    </div>
</div>
</body>

<script type="text/javascript">

    $(function () {

        $('.backPrv').click(function () {
            location.href = '{{urlfor "controllers.UserController.Index"}}';
        });

    });

</script>

</html>